<?php
	function debug($arr)
	{
		if(is_array($arr)){
			
			$v = "";
			
			foreach($arr as $k=>$a)
			{
				$v .= "[" . $k . "] => (" . debug($a) . ")<br>";
				
			}
			return $v;
		}else{
			return $arr;
		}
	}
?>